<div class="login">
    <div class = "login-tab row">
        <div class = "col-50" ng-click = "switchType(true)">
            <div class ="tab-item" ng-class ="{'tab-item-active':isPassword}">密码登录</div>
        </div>
        <div class="line"></div>
        <div class = "col-50" ng-click = "switchType(false)">
            <div class ="tab-item" ng-class ="{'tab-item-active':!isPassword}">手势登录</div>
        </div>
    </div>
    <form name="loginForm">
        <div ng-show = "isPassword">
            <div class = "input-container">
                <label class = "item item-input">
                    <img class ="input-icon" src = "img/user.png">
                    <span class ="input-divide">|</span>
                    <input class = "input-content" name="user" type = "text" ng-model = "login.user" placeholder = "工号/手机号/账号" required>
                </label>
                <label class = "item item-input">
                    <img class ="input-icon" src = "img/password.png">
                    <span class ="input-divide">|</span>
                    <input class = "input-content" name="password" type = "password" ng-model = "login.password" placeholder="密码" required>
                </label>
            </div>
            <button class = "button login-submit" ui-sref="{{url}}">登录</button>
            <div class = "tip">
                <span class = "forgot-password">忘记密码</span>
                <span class = "register">免费注册</span>
            </div>
        </div>
    </form>
    <div ng-show = "!isPassword">
        <div id="gesturepwd" style = "margin: 20px auto"></div>
    </div>
</div>
